package com.zhichat.dao;

import com.zhichat.entity.ChatUserSessionEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhichat.web.vo.ws.UserSessionInfoVO;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 用户会话表
 * 
 * @author 团长九哥 https://space.bilibili.com/602197686
 * @email insanetz@163.com
 * @date 2024-12-11 22:23:46
 */
@Mapper
@Repository
public interface ChatUserSessionDao extends BaseMapper<ChatUserSessionEntity> {

    List<UserSessionInfoVO> getUserSessionInfoList(Long userId);

    void bulk(List<ChatUserSessionEntity> list);
}
